//
//  LikeTableViewCell.m
//  网络FM
//
//  Created by dllo on 15/5/28.
//  Copyright (c) 2015年 dengzhicheng.com. All rights reserved.
//

#import "LikeTableViewCell.h"

@implementation LikeTableViewCell
- (void)dealloc
{
    [_likeImageView release];
    [_likeTitle release];
    [_likePeople release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.bigImageView = [[UIImageView alloc] initWithFrame:CGRectMake(5, 5, [UIScreen mainScreen].bounds.size.width - 10, 100)];
        [self.bigImageView setBackgroundColor:[UIColor colorWithRed:240 / 255.0 green:240 / 255.0 blue:240 / 255.0 alpha:1.0f]];
        self.bigImageView.layer.cornerRadius = 20;
        [self.contentView addSubview:self.bigImageView];
        [_bigImageView release];
        
        self.likeImageView = [[UIImageView alloc] initWithFrame:CGRectMake(15, 10, 80, 80)];
        self.likeImageView.layer.cornerRadius = 10;
        self.likeImageView.clipsToBounds =YES;
        [self.bigImageView addSubview:self.likeImageView];
        [_likePeople release];
        
        self.likeTitle = [[UILabel alloc] initWithFrame:CGRectMake(110, 10, [UIScreen mainScreen].bounds.size.width - 120, 40)];
        self.likeTitle.font = [UIFont boldSystemFontOfSize:18];
        self.likeTitle.numberOfLines = 0;
        [self.bigImageView addSubview:self.likeTitle];
        [_likeTitle release];
        
        self.likePeople = [[UILabel alloc] initWithFrame:CGRectMake(115, 60, 130, 30)];
        self.likePeople.textColor = [UIColor lightGrayColor];
        [self.bigImageView addSubview:self.likePeople];
        [_likePeople release];
        
        
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
